package master;

/**
 * @author chenyw
 * @date 2022/9/5 15:43
 *
 * //删除链表中的节点
 */
public class M237deleteNode {
    public void deleteNode(ListNode node) {
        node.val = node.next.val;
        node.next = node.next.next;
        return;
    }
}
